<?php

namespace App\Http\Controllers\Admin\Shop;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

class HomeController extends Controller
{
    public function __construct()
    {
        view()->share([
            '_shop' => 'active open',
            '_home' => 'active'
        ]);
    }


    /**
     * 加载数据统计页面
     * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
     */
    public function index()
    {
        return view('admin.shop.index');
    }
}
